class Page_Element():
    #第一条用例
    #1.输入用户名
    userName = ('id','userAccount')

    #2.输入密码
    userPwd = ('id','loginPwd')

    #3.点击登录
    loginBtn = ('id','loginBtn')

    #4.断言
    deskTop1 = ('xpath','/html/body/div/section/div[1]/div[1]/ul/li/span')

    #第二条用例
    #1.点击用户中心
    user_center =('xpath','/html/body/div/aside/div/dl[1]/dt')

    #点击用户管理
    user_manage = ('xpath','/html/body/div/aside/div/dl[1]/dd/ul/li[1]/a')

    # 断言
    deskTop2 = ('xpath','/html/body/div/section/div[1]/div[1]/ul/li[2]/span')

    #切换iframe框
    iframe1 = ('xpath','/html/body/div/section/div[2]/div[2]/iframe')

    #点击添加用户
    user_add = ('xpath','/html/body/div/div[2]/span[1]/a[2]')

    #切换第二个iframe框
    iframe2 = ('xpath','/html/body/div[3]/div/iframe')

    #输入用户名
    user_name = ('xpath','/html/body/div/div/form/table/tbody/tr[1]/td/input[2]')

    #手机号
    phone = ('xpath','/html/body/div/div/form/table/tbody/tr[3]/td/input')

    #邮箱
    email = ('xpath','/html/body/div/div/form/table/tbody/tr[4]/td/input')

    #账号
    account = ('id','userAccount')

    #密码
    pwd  = ('id','loginPwd')
    confirm_pwd = ('id','confirmPwd')

    #提交
    queren =('id','submitBtn')


    #第三条用例
    iframe3 = ('xpath','/html/body/div/section/div[2]/div[2]/iframe')

    #输入搜索关键字
    search_key = ('id','searchValue')

    #点击搜索
    search_btn = ('id','searchBtn')

    #第4条用例
    iframe4 = ('xpath','/html/body/div/section/div[2]/div[2]/iframe')

    #点击修改
    modify = ('xpath','/html/body/div/table/tbody/tr[1]/td[9]/a[3]')

    iframe5 = ('xpath','/html/body/div[3]/div/iframe')

    modify_pwd = ('xpath','/html/body/div/form/table/tbody/tr[1]/td/input[2]')

    modify_queren = ('xpath','/html/body/div/form/table/tbody/tr[2]/td/input')

    modify_queren_btn = ('xpath','/html/body/div/form/table/tbody/tr[3]/td/button')

    #第5条用例
    iframe6 = ('xpath','/html/body/div/section/div[2]/div[2]/iframe')

    deluser1 = ('xpath','/html/body/div/table/tbody/tr[1]/td[9]/a[4]/i')

    deluser2 = ('xpath','/html/body/div[3]/div[1]/span[2]/a[1]')




